{template 'head'}
	<div class="container">
		  <div class="top"><h1 class="page__title" style="background-color:{$extendValues['navigationBarBackgroundColor']}">新增地址<span id="PageBack" class="back" style="display:block">返回</span><a class="home fa fa-home ajax-page" href="{$extendValues['homePage']}"></a></h1></div>
		  <div class="page" id="page"> 
				<div class="pagemain">
				     <form class="form-horizontal ui-sortable formtable_694770" data-listhref="{php echo DiygwcomUtil::to_mobile_url( $this->createMobileUrl('address_index', array('m'=>'diygwcom_app','dashboardid'=>$dashboardid)))}" data-ride="form" role="form" id="form694770" name="table_694770" data-url="{php echo DiygwcomUtil::to_mobile_url( $this->createMobileUrl('data_data', array('m'=>'diygwcom_app')))}" action="{php echo DiygwcomUtil::to_mobile_url( $this->createMobileUrl('address_save', array('m'=>'diygwcom_app')))}" method="post" data-bv-group=".weui-cell" data-bv-container="#errorsform694770" data-bv-feedbackicons-valid="weui-icon-success" data-bv-feedbackicons-invalid="weui-icon-warn" data-bv-feedbackicons-validating="weui-icon-warn">
					        <div class="row-form clearfix">
					            <div class="">
					                <div class="weui-cell">
					                    <div class="weui-cell__bd"> <input placeholder="请输入姓名" value="{$address['name']}" name="name" id="697918" class="weui-input" required="" data-bv-notempty-message="请输入姓名" type="text"> </div>
					                </div>
					                <div class="weui-cell">
					                    <div class="weui-cell__bd"> 
					                    	<input placeholder="请输入电话" value="{$address['tel']}" name="tel" id="781415" class="weui-input"  required="" data-bv-notempty-message="请输入电话" data-bv-regexp="true" data-bv-regexp-regexp="/^1[34578]\d{9}$/" data-bv-regexp-message="请输入11位的手机号码" type="text"> </div>
					                </div>
					                <div class="weui-cell">
					                    <div class="weui-cell__bd"> <textarea rows="3" placeholder="请输入地址" name="address" id="571583" class="weui-textarea" required="" data-bv-notempty-message="请输入地址">{$address['address']}</textarea> </div>
					                </div>
					                <div class="weui-cells weui-cells_checkbox"> 
						                <label for="is_def" class="weui-cell weui-check__label">
								            <div class="weui-cell__hd">
								                <input id="is_def" name="is_def" value="1" {if $address['is_def']==1}checked="checked"{/if} class="weui-check weui-checkbox" type="checkbox">
								                <i class="weui-icon-checked"></i>
								            </div>
								            <div class="weui-cell__bd">
								                <p>是否默认</p>
								            </div>
								        </label> 
					        		</div>
					                <div class="weui_btn_area weui_btn_area_inline"> <button type="submit" class="weui-btn weui-btn_primary ">提交</button> <button type="reset" class="weui-btn weui-btn_warn  ">重置</button> </div>
					            </div>
					        </div> 
					        <input class="hidden" name="dashboardid" value="{$dashboardid}" type="hidden">
							<input class="hidden" name="id" value="{$address['id']}" type="hidden">
					        <div id="errorsform694770" class="hide"></div>
					    </form>
				</div>
          </div>  
	</div>
{template 'footer'}
